<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <div id="app">
        <h2>Hello World</h2>
        
        <!-- v-bind绑定对象:给组件传递参数的 -->
        <h2 v-bind="infos">Hello World</h2>
    </div>

    <script src="./lib/Vue.js"></script>
    <script>
        const app = Vue.createApp({
            data() {
                return{
                  infos:{ name:'why', age:18, height:1.88 }
                }
            }
        })
        app.mount("#app")
    </script>
</body>
</html>